﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace SYH.Config
{
   public  class PayConfig
    {
        public static string GetApp(string key)
        {
            return ConfigurationManager.AppSettings[key];
        }
        static string GetConnection(string key)
        {
            return ConfigurationManager.ConnectionStrings[key].ConnectionString;
        }

        #region  商户号
        /// <summary>
        /// 商户号
        /// </summary>
        public static string EnterBank_v_mid
        {
            get
            {
                return GetApp("EnterBank_v_mid");
            }
        }
        #endregion

        #region  MD5值
        /// <summary>
        /// MD5值
        /// </summary>
        public static string EnterBank_Key
        {
            get
            {
                return GetApp("EnterBank_Key");
            }
        }
        #endregion
    }
}
